<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <!-- <title>process.env.GLOBAL_APP_NAME</title> -->

  <!-- GrowingIO Analytics code version 2.1 -->
  <!-- Copyright 2015-2018 GrowingIO, Inc. More info available at http://www.growingio.com -->

  <script type='text/javascript'>
    window._gr_ignore_local_rule = true

    !function (e, t, n, g, i) { e[i] = e[i] || function () { (e[i].q = e[i].q || []).push(arguments) }, n = t.createElement("script"), tag = t.getElementsByTagName("script")[0], n.async = 1, n.src = ('https:' == document.location.protocol ? 'https://' : 'https://') + g, tag.parentNode.insertBefore(n, tag) }(window, document, "script", "assets.giocdn.com/2.1/gio.js", "gio");
    gio('init', 'b445fb3b427cf011', { 'hashtag': true });

    //custom page code begin here

    //custom page code end here
    gio('send');

  </script>
  <!-- End GrowingIO Analytics code version: 2.1 -->

  <script>
    (function () {
      const port = process.env.PORT || 3000;
      var href = (process.env.HOT)
        ? 'http://localhost:' + port + '/dist/styles.css'
        : './dist/styles.css'

      const link = document.createElement('link');
      link.rel = 'stylesheet';
      link.href = href;
      // HACK: Writing the script path should be done with webpack
      document.getElementsByTagName('head')[0].appendChild(link);
    }());
  </script>

  <!-- GrowingIO Analytics code version 2.1 -->
  <!-- Copyright 2015-2018 GrowingIO, Inc. More info available at http://www.growingio.com -->



  <!-- End GrowingIO Analytics code version: 2.1 -->

</head>

<body>
  <div id="root" style="height: 100%"></div>
  <script>
    {
      const scripts = [];

      // Dynamically insert the bundled app script in the renderer process
      const port = process.env.PORT || 3000;
      scripts.push(
        (process.env.HOT)
          ? 'http://localhost:' + port + '/dist/bundle.js'
          : './dist/bundle.js'
      );

      document.write(
        scripts
          .map(script => `<script defer src="${script}"><\/script>`)
          .join('')
      );
    }
  </script>
</body>

</html>